package com.stylefeng.guns.modular.system.dao;

import com.stylefeng.guns.core.datascope.DataScope;
import com.stylefeng.guns.modular.system.model.GoodsUnit;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author LiuXin
 * @since 2018-09-12
 */
@Repository
public interface GoodsUnitMapper extends BaseMapper<GoodsUnit> {

    /**
     * 增加数据范围
     * @param dataScope 数据范围
     * @return 结果
     */
    List<GoodsUnit> listGoodsUnit(DataScope dataScope);

}
